package com.xinghou.platform.server.api.common;

public class XingResult<T> {
    private String result;
    private String ckresult;
    private String errcode;
    private String errmsg;
    public T data;

    public XingResult() {
    }

    public XingResult(String result,String chresult, String errcode,String errmsg) {
        this.result=result;
        this.ckresult=ckresult;
        this.errcode=errcode;
        this.errmsg=errmsg;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getCkresult() {
        return ckresult;
    }

    public void setCkresult(String ckresult) {
        this.ckresult = ckresult;
    }

    public String getErrcode() {
        return errcode;
    }

    public void setErrcode(String errcode) {
        this.errcode = errcode;
    }

    public String getErrmsg() {
        return errmsg;
    }

    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }

    public Object getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
